from django.urls import re_path, path

from users import views

urlpatterns = [
    path("register/",views.RegisterView.as_view(),name="register"),
    path("login/",views.LoginView.as_view(),name="login"),
    path("logout/",views.LogoutView.as_view(),name="logout"),
    path("imagecode/",views.ImageCodeView.as_view(),name="imagecode"),
    path("smscode/",views.SmsCodeView.as_view(),name="smscode"),
    path('forgetpassword/', views.ForgetPasswordView.as_view(), name='forgetpassword'),
    path('center/', views.CenterUserView.as_view(), name='center'),
    path('writeblog/', views.WriteBlogView.as_view(), name='writeblog'),
]